<%@ page import="org.model.Cost" %>



<div class="fieldcontain ${hasErrors(bean: costInstance, field: 'costEstimate', 'error')} ">
	<label for="costEstimate">
		<g:message code="cost.costEstimate.label" default="Cost Estimate" />
		
	</label>
	<g:field type="number" name="costEstimate" value="${fieldValue(bean: costInstance, field: 'costEstimate')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: costInstance, field: 'maintenaceFee', 'error')} ">
	<label for="maintenaceFee">
		<g:message code="cost.maintenaceFee.label" default="Maintenace Fee" />
		
	</label>
	<g:field type="number" name="maintenaceFee" value="${fieldValue(bean: costInstance, field: 'maintenaceFee')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: costInstance, field: 'po', 'error')} ">
	<label for="po">
		<g:message code="cost.po.label" default="Po" />
		
	</label>
	<g:textField name="po" value="${costInstance?.po}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: costInstance, field: 'sugarCase', 'error')} required">
	<label for="sugarCase">
		<g:message code="cost.sugarCase.label" default="Sugar Case" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="sugarCase" name="sugarCase.id" from="${org.model.SugarCase.list()}" optionKey="id" required="" value="${costInstance?.sugarCase?.id}" class="many-to-one"/>
</div>

